package com.jieyang.oa.dao;

import com.jieyang.oa.pojo.entity.Dept;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DeptDao {
    public Integer insert(Dept dept);

    public List<Dept> selectList();

    public Integer delete(Integer deptNo);

    public Dept selectByDeptNo(Integer deptNo);

    public Integer update(Dept dept);
}
